package com.ms.aspectj.normal;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AopConfigTest {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AopConfig.class);
        DviceService bean = applicationContext.getBean(DviceService.class);
        bean.hello(1,2);
//                bean.hello(1, 0);

    }
}
